/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ar.com.wholeconsulting.pacc.report;

import java.util.Iterator;
import net.sf.jasperreports.engine.JRDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JRField;

/**
 *
 * @author Duco Pablo
 */
public class GenericJRDataSource implements JRDataSource{
   
    private Iterator iter;
    
    public GenericJRDataSource() {
        
    }
    

    @Override
    public boolean next() throws JRException {
        return iter.hasNext();
    }

    @Override
    public Object getFieldValue(JRField jrf) throws JRException {
        return null;
    }
    
}
